//package gui;
//
//import java.util.List;
//
//import gui.support.DatePagerAdapter;
//import android.app.Activity;
//import android.content.res.Configuration;
//import android.os.Bundle;
//import android.support.v4.view.ViewPager;
//import android.util.Log;
//import android.view.View;
//import android.widget.Toast;
//
//import com.j256.ormlite.android.apptools.OrmLiteBaseActivity;
//import com.j256.ormlite.dao.Dao;
//import com.j256.ormlite.dao.RuntimeExceptionDao;
//import com.mymoney.R;
//
//import dao.AccountDAO;
//import database.DatabaseHelper;
//import entity.Account;
//
//public class InputTransActivity extends OrmLiteBaseActivity<DatabaseHelper> {
//    public void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.trans);
//
//        DatePagerAdapter adapter = new DatePagerAdapter();
//        ViewPager myPager = (ViewPager) findViewById(R.id.myfivepanelpager);
//        myPager.setAdapter(adapter);
//        myPager.setCurrentItem(2);
//    }
//    
//    public void farLeftButtonClick(View v) throws Exception
//	{
//    	DatabaseHelper dbHelper = getHelper();
//    	AccountDAO accDao = new AccountDAO(dbHelper);
//		Account acc = new Account("hung's money account");
//    	int kq = accDao.createAccount(acc);
//    	
//    	List<Account> lstAcc = accDao.getAllAccount();
//    	
//		Toast.makeText(this, "Far Left Button Clicked " + String.valueOf(lstAcc.toString()), Toast.LENGTH_SHORT).show(); 
//
//	}
//
//	public void farRightButtonClick(View v)
//	{
//		Toast.makeText(this, "Far Right Elephant Button Clicked", Toast.LENGTH_SHORT).show(); 
//
//	}
//    
//    @Override
//    public void onConfigurationChanged(Configuration newConfig) {
//      // ignore orientation/keyboard change
//      super.onConfigurationChanged(newConfig);
//    }
//
//}
